package dao;

import java.util.List;

import javax.persistence.Query;

import entity.Classes;

public class ClassesDao extends BaseDao<Classes> {
	
	public static ClassesDao INSTANCE = new ClassesDao();
	
	private ClassesDao() {}

	@SuppressWarnings("unchecked")
	public List<Classes> findAll() {
		Query query = em.createNamedQuery("Classes.findAll");
		return query.getResultList();
	}

}
